home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.3d26 source / Read Me
Text File  |  1991-06-18  |  4KB  |  116 lines

  1. tn3270 2.3d26 Source Distribution - 6/18/91
  2.  
  3. **IMPORTANT**
  4. The source for tn3270 is protected by a Copyright notice which
  5. is more restrictive than the Copyright for the application.  Before
  6. using the tn3270 source, please read the Copyright notice and follow
  7. its requirements.  The notice may be found in any of the source
  8. files.
  9.  
  10. Version 2.3d26 of tn3270 is built using MPW version 2.0.2, and uses
  11. MPW C and the MPW Assembler.  This is the last source distribution
  12. which will use MPW 2.0.2.  The next distribution is expected to use
  13. MPW 3.2, and is planned to be available in the summer of 1991.
  14.  
  15. tn3270 is linked with the TCP/IP subroutine library from NCSA Telnet
  16. version 2.3.  This distribution of tn3270 includes all the files from
  17. NCSA Telnet needed to link or modify tn3270.  However, the NCSA source
  18. is required in order to make changes to the TCP/IP subroutines.  The
  19. next source distribution of tn3270 will be linked using the subroutines
  20. from NCSA Telnet 2.4.
  21.  
  22. Here are the directions for installing the source files and building
  23. tn3270.
  24.  
  25. 1.    Install MPW 2.0.2 according to Apple's directions.
  26.  
  27. 2a.    If you have the source for NCSA Telnet, and want to integrate
  28.     the tn3270 source with the Telnet source, follow these steps:
  29.  
  30.     a. In the folder "Mac Telnet":tcpip, replace the files
  31.             user.c
  32.             userd.c
  33.             util.c
  34.        with the new versions of these files found in the same folder
  35.        in the tn3270 source distribution. Delete the corresponding
  36.        .o files in the folder "Mac Telnet":tcpip:obj.
  37.  
  38.     b. Set the current directory to "Mac Telnet":tcpip, and issue
  39.        the commands:
  40.                BuildProgram tcplib.ncsa
  41.             BuildProgram tcplibd
  42.        to create updated copies of tcplib.ncsa.o and tcplibd.o.
  43.  
  44. 2b.    If you do not have the NCSA Telnet source, follow these steps:
  45.     
  46.     a. Copy the folder "Mac Telnet" from the tn3270 distribution files
  47.        into your MPW folder.  The files:
  48.             "Mac Telnet":tcpip:user.c
  49.             "Mac Telnet":tcpip:userd.c
  50.             "Mac Telnet":tcpip:util.c
  51.        may be deleted, since they are not required for this type of
  52.        installation.
  53.        
  54.     b. Modify StdIO.h by following these directions which are from
  55.        the NCSA Telnet installation procedure:
  56.         "You must add the following three lines to your StdIO.h file
  57.         in your MPW distribution.  Usually this file is in:  
  58.         {MPW}CIncludes:StdIO.h  Since malloc() is worthless, this may
  59.         be a good idea for all of your programs.  To get NCSA Telnet
  60.         to work right, these lines are REQUIRED."
  61.  
  62.         #define malloc(A) NewPtr(A)
  63.         #define free(A) DisposPtr(A)
  64.  
  65.         char *malloc();
  66.  
  67. 3.    Make these changes to MPW distribution files:
  68.  
  69.     a. Locate the file "MPW changes":RIncludes:"append this to Types.r"
  70.        in the tn3270 distribution, and append its contents to the end
  71.        of {MPW}RIncludes:Types.r.
  72.        
  73.     b. Replace the file {MPW}CIncludes:Sound.h with the corresponding
  74.        file from the tn3270 distribution files.
  75.        
  76. 4.    Copy the folders "tn3270" and "tn3270 tools" from the tn3270
  77.     distribution into your MPW folder.
  78.     
  79. 5.    Edit the file {MPW}tn3270:makefile, and set the control variables
  80.     at the start of the file to the proper path names.  In most cases,
  81.     you will have to replace "hd" with the name of the volume on
  82.     which you have installed MPW.
  83.     
  84. 6.  Create a new folder named "obj" in the folder {MPW}tn3270.
  85.  
  86. 7.    Set the current directory to {MPW}tn3270.  To build the NCSA 
  87.     version of tn3270, issue the command:
  88.         buildprogram tn3270
  89.     To build the MacTCP version of tn3270, issue the command:
  90.         buildprogram tn3270drv
  91.     To build a MacTCP version of tn3270 for testing, issue the command
  92.         buildprogram tn3270test
  93.     This test version is the same as the standard MacTCP version, but
  94.     has a larger MultiFinder memory allocation.  This version may be
  95.     run immediately on a color Macintosh without increasing the
  96.     memory allocation first.
  97.     
  98. 8.    Set the current directory to {MPW}"tn3270 tools".  To build the
  99.     KeyMap program, issue the command:
  100.         buildprogram keymap
  101.         
  102. Please inform me of any problems you encounter with the tn3270 source
  103. distribution.
  104.  
  105. Peter DiCamillo
  106. Brown University CIS
  107. Internet: cmsmaint@brownvm.brown.edu
  108. Phone: (401) 863-7582
  109.  
  110.  
  111.  
  112.        
  113.  
  114.  
  115.  
  116.